import React from 'react';
import ReactDOM from 'react-dom';
import './index.css';

import User from './components/User';
import News from './components/News';


let number1 = 12;
let number2 = 34;

ReactDOM.render(
    <News number1={number1} number2={number2}>内部传递的数据</News>,
    document.getElementById('root')
);

